//
//  MyTopicSectionHeaderView.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/14.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonPostModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MYTopicSectionHeaderActionType) {
    //eva
    MYTopicSectionHeaderActionType_del,
};

@interface MyTopicSectionHeaderView : UIView

@property (weak, nonatomic) IBOutlet UIButton *xiajiaBtn;

@property (weak, nonatomic) IBOutlet UILabel *timeLab;

@property (weak, nonatomic) IBOutlet UILabel *contentLab;

@property (weak, nonatomic) IBOutlet UIButton *tagBtn;

@property (weak, nonatomic) IBOutlet UIButton *delBtn;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *xiajiaHeight;


@property (weak, nonatomic) IBOutlet UILabel *evaThumbLab;

@property (nonatomic, copy) void(^MYTopicSectionHeaderViewBlock)(MYTopicSectionHeaderActionType type);


+(CGFloat)calculateHWithModel:(CommonPostModel *)model;

- (void)fillWithModel:(CommonPostModel *)model;
@end

NS_ASSUME_NONNULL_END
